var transInImageBtn = function(row, value, index) {
	var str = "<a onclick='transIn(&quot;" + index.uId + "&quot;)'><img src='images/client/trans-in.png'></a>";
	return str;
}
function transIn(uId) {
	$('#client-transfer-details').datagrid({
		url : 'query-client-transfer-by-inClientId',
		method : 'post',
		queryParams : {
			inClientId : uId
		}
	});
}

var transOutImageBtn = function(row, value, index) {
	var str = "<a onclick='transOut(&quot;" + index.uId + "&quot;)'><img src='images/client/trans-out.png'></a>";
	return str;
}
function transOut(uId) {
	$('#client-transfer-details').datagrid({
		url : 'query-client-transfer-by-outClientId',
		method : 'post',
		queryParams : {
			outClentId : uId
		}
	});
}
$(function() {
	$('#transfer-all-data').linkbutton({
		onClick : function() {
			$('#client-transfer-details').datagrid({
				url : 'query-all-client-transfer',
				method : 'post',
				queryParams : null
			});
		}
	});
})